<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="EditOrderAudit.ascx.cs" Inherits="UCommerce.Web.UI.Orders.EditOrderAudit" %>
<%@ Import Namespace="UCommerce.EntitiesV2"%>
<asp:Repeater ID="Repeater1" runat="server" DataSource="<%# OrderAudits %>">
    <HeaderTemplate>
        <div style="text-align: left;">
            <div class="propertyPane leftAligned">
                <div>
                    <table class="topAligned" style="width: 100%; vertical-align: top;">
                        <tr>
                            <th><asp:Localize ID="Localize1" runat="server" meta:resourceKey="CreatedOn" /></th>
                            <td><asp:Localize ID="Localize2" runat="server" meta:resourceKey="CreatedBy" /></td>
                            <td><asp:Localize ID="Localize3" runat="server" meta:resourceKey="Status" /></td>
                            <td><asp:Localize ID="Localize4" runat="server" meta:resourceKey="Message" /></td>
                        </tr>    
    </HeaderTemplate>
    <ItemTemplate>         
                        <tr>
                            <th style="vertical-align:top"><%# ((OrderStatusAudit)Container.DataItem).CreatedOn %></th>
                            <td style="vertical-align:top"><%# ((OrderStatusAudit)Container.DataItem).CreatedBy %></td>
                            <td style="vertical-align:top"><%# ((OrderStatusAudit)Container.DataItem).NewOrderStatus.Name %></td>
                            <td style="vertical-align:top"><%# ((OrderStatusAudit)Container.DataItem).Message %></td>
                        </tr>    
    </ItemTemplate>
    <FooterTemplate>
                    </table>
                </div>
            </div>
        </div>     
    </FooterTemplate>
</asp:Repeater>